package org.jeecg.modules.charge.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.charge.entity.ChargeSubjects;

import java.util.List;
import java.util.Map;

/**
 * @Description: 会计科目
 * @Author: jeecg-boot
 * @Date:   2019-06-27
 * @Version: V1.0
 */
public interface ChargeSubjectsMapper extends BaseMapper<ChargeSubjects> {
        public List<ChargeSubjects> getOneSubjects();

        List<ChargeSubjects> listByParams(@Param("page") Page<ChargeSubjects> page, @Param("map") Map map);

        ChargeSubjects getBySubjectsCode(@Param("subjectsCode") String subjectsCode);
}
